<?php 
require '../include/library.inc.php';

if($_REQUEST["image"])
{
	if($_REQUEST["l"] == 'like')
	{
		
			
			$sql = "INSERT INTO users_vote
							(user_id,pic_id)
					VALUES
					  ('$user','$image_id')
				  ";
			query($sql);
			
				
			
	}
}

?>